package com.mes.cloud.dao;

import com.mes.cloud.entity.SysCodeGenerator;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.ids.SelectByIdsMapper;

/**
 * @author wxm
 * @version 2019-08-08 13:41:31
 * @email xiaomin.wu1@pactera.com
 */
public interface SysCodeGeneratorDao extends SelectByIdsMapper<SysCodeGenerator>, Mapper<SysCodeGenerator> {
    int updateCodeVersion(@Param("id") String id, @Param("code") Long code, @Param("oldVersion") Integer oldVersion, @Param("newVersion") Integer newVersion);
}
